package com.wj.jiangan.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wj
 * @since 2019-11-05
 */
@Data
@Accessors(chain = true)
@TableName(value = "t_orders")
public class Order {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "r_id", type = IdType.AUTO)
    private Integer rId;

    /**
     * 下单人(员工)(外键)
     */
    private Integer eId;

    /**
     * 客户编号(外键)
     */
    private Integer cId;

    /**
     * 下单时间
     */
    private String rTime;

    /**
     * 1代表订单已下单但没有确定。2代表已确定。0代表订单已废弃
     */
    private Integer rIs;


}
